package com.fuego.creditsystemnews;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.fuego.creditsystemnews.mapper")
@ComponentScan(basePackages = {"com.fuego.creditsystemnews", "com.fuego.creditsystemuser"})
@EnableFeignClients(basePackages = "org.example.client")
@ComponentScan(basePackages = {"com.fuego.creditsystemnews", "org.example.utils"})
public class CreditSystemNewsApplication {

    public static void main(String[] args) {
        SpringApplication.run(CreditSystemNewsApplication.class, args);
    }

}
